package com.qiang.test14;

import com.qiang.test14.Ctronller.IteacherCtronller;
import com.qiang.test14.Ctronller.TeacherImpCtronller;
import com.qiang.test14.Dao.IteacherDao;
import com.qiang.test14.Dao.TeacherImpDao;
import com.qiang.test14.Service.IteacherService;
import com.qiang.test14.Service.TeacherImpService;

public class Factory {
    public static IteacherCtronller getTeacherCtronller() {
        return new TeacherImpCtronller();
    }
    public static IteacherService getTeacherService() {
        return new TeacherImpService();
    }

    public static IteacherDao getTeacherDao() {
        return new TeacherImpDao();
    }
}
